package p2pcdnsim.cdn;

import p2pcdnsim.network.ApplicationMessage;

public class DNSMessage implements ApplicationMessage {
	
	private String msg;

	public DNSMessage(String msg) {
		this.msg = msg;
	}

	public DNSMessage() {
		this("");
	}

	public String getMsg() {
		return msg;
	}
	
	@Override
	public long getLength() {
		return msg.length();
	}
	



}
